package com.cy.ppj.model.vo.admin.rule;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @description: 后台左侧菜单栏
 * @author: Ocean
 * @create: 2018-08-16 14:33
 **/
@Data
@ApiModel("后台左侧菜单栏")
public class MenuVO {

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "菜单路径")
    @JsonProperty("key")
    private String path;

    @ApiModelProperty(value = "子菜单")
    private List<MenuVO> children;
}
